package com.decorate;

/**
 * @author cyf
 * @description
 * @create 2018-09-18 10:35
 **/
public class Main {


    public static void main(String[] args) {

        System.out.println("before....");

        UserServiceInterImpl inter = new UserServiceInterImpl();
        inter.show();

        System.out.println("after....");
        UserServiceInter userServiceInter = new UserServiceAbstractImpl(new UserServiceInterImpl());
        userServiceInter.show();
    }

}
